/* 全局样式 */
* {
    padding: 0;
    margin: 0;
}
h1 {margin: 20px 0 40px 0}
ul, li {
    list-style: none;
}
body {
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* header */
header {
    height: 20%;
    background-color: rgba(196, 196, 196, 0.8);  
    overflow: hidden;
    min-height: 74px;
    padding: 0 15px;
    margin: 0 0 0 15%;
}

header .top {
    padding: 27px 0;
}
header .top .mid {
    position: absolute;
    margin: auto;
    padding: 0;
    left: 50%;
}
header div a {
    color: white;
    text-decoration: none;
    text-align: center;
}

header div span {
    color: white;
    padding-left: 30px;
    padding-right: 30px;
}
header .top span{
    /* span相对居中 */
    display: table-cell;
    vertical-align: middle;
}




/* 侧边栏 */

nav {
    overflow: hidden;
    background: white;   
    position: fixed;
    width: 15%;
    height: 100%;
}

.logo a {
    color: rgb(64, 128, 128);
    text-decoration: none;
}
.logo {
    padding: 8px;
    text-align: center;
    background-color:rgba(196, 196, 196, 0.8);
}

nav .left {
    position: fixed;
    height: 100%;
    width: 15%;
    background: rgba(227, 227, 227, 0.8);  
}

nav .left>div {
    width: 100%;
    background: rgba(196, 196, 196, 0.8); 
}

nav .left>div>span {
    display: block;
    padding: 15px 0;
    text-indent: 20px;
    font-size: 20px;
    text-decoration: none;
    color: white;
}

nav .left>div>ul {
    width: 100%;
    background: rgba(236, 223, 223, 0.8);  /* 透明 */
    max-height: 0;
    overflow: hidden;
    transition: all 5s ease-in;
}

nav .left>div:hover ul {
    max-height: 9999px;
    transition-timing-function: ease-in-out;
}

nav .left>div>ul>li>a{
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    color: white;
    text-indent: 40px;
    text-decoration: none;
    background: rgba(51, 55, 67, 0.4);  /* 透明 */
}

nav .left>div>ul>li>a:hover {
    background: rgba(74, 79, 99, 0.4);
}
/*  分角色侧边功能区 */
.userpage > a {
    display: block;
    width: 100%;
    font-size: 20px;
    color: white;
    text-decoration: none;
}
.userpage >a:hover {
    background: rgba(74, 79, 99, 0.4);
}
.userpage {
    padding: 15px 0;
    display: block;
    text-indent: 20px;
    font-size: 20px;
    text-decoration: none;
    color: white;
}

/* 内容区域 */
section {
    padding: 15px;
    margin: 0 0 0 15%;
}
/*right*/
section .right {
    border-radius: 8px;
    margin-top: 10px;
    padding: 15px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.2);
}




/* jsp样式 */

.tab1 {
    width: 95%;
    border-collapse: collapse;
}

.tab1 th {
    height: 30px;
    background: #f2f2f2;
    color: #676a6c;
    border: 1px solid #CCC;
    padding: 8px;
}

.tab1 td {
    height: 40px;
    text-align: center;
    color: #23527c;
    border: 1px solid #CCC;
    padding: 8px;
}
.delete {
    background-color: #ef679d;
    border-color: #ef679d;
    border-radius: 5px;
    color: white;
}
.edit {
    background-color: #1a96e8;
    border-color: #1a96e8;
    border-radius: 5px;
    color: white;
}

.update .star {
    color: red;
}

.update tr td {
    padding: 0 50px 20px 0;
}
input,select {
    padding: 10px 20px;
    line-height: 25px;
    width: 400px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.6);
}
button {
    width: 80px;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
}
.update {
    padding: 0 10px;
    overflow: hidden;
    width: 20px;
    /*border: 3px solid rgb(99, 51, 153);*/
}

table {
    margin: 0 auto;
    /*  所有表格居中  */
}

/* 一条竖线 */
.sx{float: left;
    width: 1px;
    height: 550px;
    background: darkgray;
    margin: 10px 30px;
}


/* 项目经理打开的界面 */
.proma {
    border-radius: 8px;
    padding: 15px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
    margin: 10px;
    text-align: center;
}

.size {
    height: 270px;
    width: 325px;
    display: inline-block;
}

.proma a {
    text-decoration: none;
    color: #498aee;
}

.proma a:hover {
    text-decoration: none;
}
.proma p>a {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    border: 1px solid #498aee;
    font-size: 18px;
    border-radius: 3px;
    color: #498aee;
    padding: 0 14px;
}

.managerPro li {
    list-style: none;
    display: inline-block;
    vertical-align: middle;
}
/* 留言部分 */
#message {
    width: 400px;
    height: 200px;
    border: 1px solid blue;
    outline: none;
    resize: none;
}

#liuyan ul {
    margin-top: 50px;
}

#liuyan li {
    width: 600px;
    padding: 5px;
    background-color: rgb(209, 245, 240);
    color: blue;
    font-size: 14px;
    margin: 15px 0;
}

caption{
    caption-side: top;
    padding: .5em;
    color: #0075c7;
    font-size:10px;
}